﻿@{
    Layout = "~/Views/Shared/_LayoutIndex.cshtml";
    int i = 0;
    int j = 0;
}
@model UcAsp.Models.HomeModel
<div class="content_slides">
      <div class="content_focus">
            <!---幻灯片--->
          <div id="focus">
			    @(new HtmlString(@UcAsp.WorkFrame.AdvPositions.GetAdvPositions("AD1").AdvHtml));
		    </div>
            <div id="ico"></div>
    </div>
    <div class="content_link">
         <div style="float:right; width:300px;">
            <a href="/Sign"><img src="/content/image/baoming.jpg" /></a>
        </div>
        <div style="float:right; width:300px;">
            <a href="http://wpa.qq.com/msgrd?v=3&uin=2633056132&site=qq&menu=yes" target="_blank"><img src="/content/image/yuyue.jpg" /></a>

        </div>
      
        <div class="content_link_adv">
             @(new HtmlString(@UcAsp.WorkFrame.ClearHTML.ClearP(UcAsp.WorkFrame.AdvPositions.GetAdvPositions("AD2").AdvHtml)))

        </div>

    </div>   
</div>
<div class="poitline"></div>
<div class="hotclass">
    <div class="classtitle"><b>热门课程/最新课程</b></div><div class="moreclass"><a href="/Course/" style="color:#000000">More</a></div>
   <div class="clear"></div>
    <div class="classinfot">
         @(new HtmlString(@UcAsp.WorkFrame.AdvPositions.GetAdvPositions("AD8").AdvHtml))
    </div>
</div>
<div class="poitline"></div>
<div class="lanumtitle" style="width:320px; height:350px; float:left">
<div style="width:300px;"><b>时尚资讯</b><span style="float:right"><a href="/Fashion/"><font style="color:#000000;font-size:12px;" >More</font></a></span></div>
     <div class="infoto">
         <ul>
             @foreach (UcAsp.Models.Articles c in Model.Fashion)
             { 
                 if(j==0)
                 {
                 <li><div class="showimage_title"><img src="@c.IconUrl" width="82" height="82" title="@c.Title @c.Tag" /></div>
                     <div class="showimage_content">
                         <a href="/showmessage/@c.ID" title="@c.Title @c.Tag">@c.Title</a><br>
                        @UcAsp.WorkFrame.ClearHTML.CreateText(c.Description,30)

                     </div>
                     <div class="clear"></div>
                 </li>
                 }
                j++;
                <li><a href="/showmessage/@c.ID" title="@c.Title @c.Tag"><span style="font-size:12px;" >@c.Title</span></a></li>
             }
         </ul>
     </div>
</div>
<div class="lanumtitle" style="width:320px; height:350px; float:left"><div style="width:330px;"><b>问题解答</b></div>
   <div class="infoto">
        <ul>
             @foreach (UcAsp.Models.Articles c in Model.Answer)
             { 
                 if(i==0)
                 {
                 <li><div class="showimage_title"><img src="@c.IconUrl" width="82" height="82" title="@c.Title @c.Tag" /></div>
                     <div class="showimage_content">
                         <a href="/Answer" title="@c.Title @c.Tag">@c.Title</a><br>
                          @c.Description

                     </div>
                     <div class="clear"></div>
                 </li>
                 }
                 i++;
                <li><a href="/Answer" title="@c.Title @c.Tag"><span style="font-size:12px;" >@c.Title</span></a></li>
             }
         </ul>
      
    </div>

</div>
<div class="lanumtitle" style="width:300px; height:350px; float:left"><div style="width:300px;"><b>悠点学院</b></div>
    <div>
         @(new HtmlString(@UcAsp.WorkFrame.AdvPositions.GetAdvPositions("AD9").AdvHtml))
    </div>
</div>
<div class="clear"></div>
<div class="poitline"></div>
<div class="lanumtitle" style="width:660px; height:410px; float:left" >
    <div style="width:660px;" ><b>实践/活动</b><a href="/Media#huodong"><span style="float:right; font-size:12px; color:#000000;">More</span></a></div>
    <div class="action_home">
        <ul>
            @foreach( UcAsp.Models.Articles c in Model.Action)
            {
            <li>
                <ul>
                    <li>
                        <a href="/ShowMessage/@c.ID"><img src="@c.IconUrl" title="@c.Title" /></a>
                    </li>
                    <li style="height:20px; overflow:hidden;">
                        <a href="/ShowMessage/@c.ID" title="@c.Title @c.Tag"><b class="hometitle" ><font color="#000000">@c.Title<font></b></a>
                    </li>

                </ul>
            </li>
            }
        </ul>
        </div>
</div>
<div style="width:300px; height:410px; float:left;font-size:12px; color:#000000">
    @(new HtmlString(@UcAsp.WorkFrame.AdvPositions.GetAdvPositions("AD10").AdvHtml))

</div>
<div class="clear"></div>
<div>
     @(new HtmlString(@UcAsp.WorkFrame.AdvPositions.GetAdvPositions("AD11").AdvHtml))
</div>
<div class="poitline"></div>
<div class="Talent_title"><b>作品展示</b><a href="/works"><span style="float:right; font-size:12px; color:#000000;">More</span></a></div>

<div class="talent_recomend">
        <ul>
            @foreach(UcAsp.Models.Articles c in Model.Works)
            {
           <li>
                    <ul>
                        <li>
                            <a href="/ShowMessage/@c.ID" title="@c.Title @c.Tag"><img src="@c.IconUrl" title="@c.Title" /></a>
                        </li>
                        <!--li style="font-size:14px;">
                            类别/<b style="color:#333333;">@c.Categoriess.CategorieName</b>
                        </!--li>
                        <li style="font-size:12px;">
                            上传时间/@c.AddDatetime.ToShortDateString()
                        </li>
                        <li style="font-size:14px;" >
                            热度/@c.Hot
                        </li-->
                    </ul>
                </li>
            }
    </ul>
    <div class="clear"></div>
</div>
<div class="poitline"></div>
<!--div class="Talent_title">全部学员</!--div>

<div class="talent_all">
    <ul>
        @foreach( UcAsp.Models.Articles c in Model.Talent)
        {
        <li>
            <ul>
                <li>
                    <a href="/ShowMessage/@c.ID"><img src="@c.IconUrl" /></a>
                </li>
                <li>
                    <b class="hometitle">@c.Title</b>
                </li>

            </ul>
        </li>
        }
    </ul>
    <div class="clear"></div>
</div>
<div>
     @(new HtmlString(@UcAsp.WorkFrame.AdvPositions.GetAdvPositions("AD12").AdvHtml))
</div-->
<div class="Talent_title"><b>全部视频</b><span style="float:right;font-size:12px;"><a href="/video">More</a></span></div>

<div class="talent_all">
    <ul>
        @foreach( UcAsp.Models.Articles c in Model.Vedio)
        {
        <li>
            <ul>
                <li>
                    <a href="/ShowMessage/@c.ID" title="@c.Title @c.Tag"><img src="@c.IconUrl" width="135" height="104" title="@c.Title" /></a>
                </li>
                <li>
                    <b class="hometitle" title="@c.Title @c.Tag">@c.Title</b>
                </li>

            </ul>
        </li>
        }
    </ul>
</div>
    <div class="clear"></div>
<div style="margin:10px;">
    <div class="Talent_title">友情链接</div>
    <div class="firend">
    @(new HtmlString(@UcAsp.WorkFrame.SettingConfig.GetSiteSetting.Footer))
</div>
</div>